package BehavioralMode.visitor.materials;

public class CompanyB implements Company{
    @Override
    public void visit(Paper paper) {
        System.out.println("公司B 用纸张做画纸");
    }

    @Override
    public void visit(Metal metal) {
        System.out.println("公司B 用铁做相框");
    }
}
